<template>
  <div class="index">
   
    <!-- 二级路由的占位组件 -->
    <router-view></router-view>

    <!-- Tabbar组件 -->
    <van-tabbar route v-model="active" active-color="#f00">
      <van-tabbar-item icon="home-o" to="/index/home">首页</van-tabbar-item>
      <van-tabbar-item icon="fire-o" to="/index/baobaotuan">爆爆团</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/index/order">订单</van-tabbar-item>
      <van-tabbar-item icon="location-o" to="/index/mine">我的</van-tabbar-item>
    </van-tabbar>

  </div>
</template>

<script>
export default {
  data(){
    return {
      active:0,
      arr:[]
    }
  },
  mounted(){
    
  }
}
</script>

<style lang='scss' scoped>

</style>